package top.yueyazhui.ask_for_leave.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author yueyazhui
 * @Date 2023/2/11
 */
@Data
public class AskForLeaveDto {

    private Integer days;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date endDate;
    private String reason;
    private String approveUserId;
    private String approveUserName;
    private String processInstanceId;
    private Boolean approve;
}
